package com.consul;

import com.consul.feign.A;
import com.consul.feign.FeignService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * @author zhangbowen
 * @date 2019/4/8
 **/
@RestController
public class TestController {
    @Autowired
    private FeignService feignService;

    @GetMapping(value = "get")
    public String get() {
        return feignService.get();
    }
}
